home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / nvidia-common.config < prev    next >
Text File  |  2008-10-06  |  487b  |  20 lines

  1. #!/bin/bash -e
  2.  
  3. . /usr/share/debconf/confmodule
  4.  
  5. db_fset nvidia-common/obsolete-driver seen false
  6. db_fget nvidia-common/obsolete-driver seen || true
  7.  
  8. if [ "$RET" != "true" ]; then
  9.     if [ -x /usr/bin/nvidia-detector ]; then
  10.         LATEST=$(nvidia-detector)
  11.         if [ ${LATEST} != "none" ]; then 
  12.             db_subst nvidia-common/obsolete-driver latest $LATEST
  13.             db_input high nvidia-common/obsolete-driver || true
  14.             db_go || true
  15.         fi
  16.     fi
  17. fi
  18.  
  19. db_stop
  20.